<link href="__PUBLIC__/Css/orderDetail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(document).ready(function(){
	k_inputIntOnly($('#charge_amount'));
});
function afterChargeSuccess(itemid){
	k_page_redirect("{:U('User://Account/cash')}");
}
</script>

					<div style="width:100%;text-align:center;padding:20px 0px 10px 0px;">
						<span style="font-size:14px;">冲值金额：</span>
						<input 	style="height:28px; width:200px;line-height:28px; font-size:18px;border:1px solid #c5c5c5;" 
								type="text" id="charge_amount" maxlength="3">
					</div>
					<div class="step">
					    <div class="cont">
					  		<div class="">
								<div class="panel-title">
								     <ul class="column-tab">
								        <li class="tab-title tab-title-current" rel='edit'>
								        <span style=" color: #CC0000;font-size: 13px;font-weight: bold;">
											支付方式</span>
								       </li>
								    </ul>
								 </div>
								
								<php>
								//初始化相关变量
								$uaccount = service('UserAccount')->get4User();
								$pb_paymentData=array(	'itemType'=>'pay_charge'//支付类型，订单支付'pay_order'或账户冲值'pay_charge'
														,'itemId'=>$uaccount['id'].'_'.time()//用户冲值时这个不用设置，应该通过session读取的
														//,'payType'=>$paytype//选择的支付类型
														,'jsfun_afterPaySuccess'=>'afterChargeSuccess'//支付成功后执行的js函数,该函数有一个参数itemId
														,'jsfun_afterPayFailed'=>''//支付失败后执行的js函数,该函数有一个参数itemId
													);
								</php>
								<include file="../Index/Tpl/default/Pay/pay_box.html" />
								
							</div>
						</div>
				</div>